package com.health.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author sanchuan
 * @since 2023-04-20
 */
@Getter
@Setter
  @TableName("t_department")
@ApiModel(value = "TDepartment对象", description = "")
public class TDepartment implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("部门ID")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("部门名称")
      private String name;

      @ApiModelProperty("部门描述")
      private String depict;

      @ApiModelProperty("页面权限名称(控制可以访问哪个页面)")
      private String roles;

      @ApiModelProperty("逻辑删除 0 正常 1 删除")
      private Byte isDeleted;

      @ApiModelProperty("是否上架删除 0 下架 1 上架")
      private Byte isShelves;

      @ApiModelProperty("创建时间")
      private LocalDateTime createTime;

      @ApiModelProperty("更新时间")
      private LocalDateTime updateTime;
}
